
import service from "../request.js";

export function countByDrugList(query) {
  return service({
    method: "get",
    url: "/count/byDrug",
    data: query,
  });
}
export function countByDateList(query) {
  return service({
    method: "get",
    url: "/count/byDate",
    data: query,
  });
}
export function homeList1(query) {
  return service({
    method: "Post",
    url: "/count/Record2",
    data: query,
    contentType: 'application/json',
    headers: {
        'Content-Type':'application/json'
    }
  });
}
